/*******************************************************************************
 * Package: com.hngtrust.iir.base.controller.vo
 * Type:    DictVO
 * Date:    2021-3-30 8:53
 *
 * Copyright (c) 2021 HUANENG GUICHENG TRUST CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.hngtrust.iir.base.controller.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * VO类
 * @author Chentianyong
 * @date 2021-3-30 8:53
 */
@ApiModel(description = "省市区数据")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AreaVO {
    /**
     * ID
     */
    @ApiModelProperty(value = "数据ID")
    private Long id;
    
    /**
     * 上级ID
     */
    @ApiModelProperty(value = "上级ID")
    private Long parentId;
    
    /**
     * 编码
     */
    @ApiModelProperty(value = "编码")
    private String code;
    
    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    private String name;
    
    /**
     * 经度
     */
    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;
    
    /**
     * 纬度
     */
    @ApiModelProperty(value = "纬度")
    private BigDecimal latitude;
    
    /**
     * 省市区标志
     */
    @ApiModelProperty(value = "省市区标志 1省 2市 3区")
    private Integer tag;
}
